	<div class="contents">
    	<h1>Gallery</h1>
        
        <div class="article_item gallery">
        <?php foreach( $model as $key => $model ): ?>
        	<h5>Photo #<?php echo $key+1; ?></h5>
            <a href="#"><img src="/assets/<?php echo $model->img_name ?>" alt="<?php echo $model->img_name ?>" /></a>
          <?php endforeach; ?>            
        </div>
        
        
        
        <div class="paginator">
         <?php $this->widget('CLinkPager',array('pages'=>$pages,'header'=>'')); ?>
    </div>
